﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MailServer.Message {
    [Serializable]
    public class Information {
        private long identifier;
        private int status;

        public Information(long identifier, int status) {
            this.identifier = identifier;
            this.status = status;
        }

        public bool CheckIdentifier(long identifier) {
            return this.identifier == identifier;
        }

        public bool CheckStatus(int status) {
            return this.status == status;
        }

        public override string ToString() {
            return "Identifier: " + identifier.ToString();
        }
    }
}
